package org.jeecg.modules.engine.entity;

import java.io.Serializable;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import org.jeecg.common.aspect.annotation.Dict;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import java.util.Date;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * @Description: 构件表
 * @Author: jeecg-boot
 * @Date:   2020-07-20
 * @Version: V1.0
 */
@Data
@TableName("frame")
@ApiModel(value="engineering对象", description="工程表")
public class Frame implements Serializable {
    private static final long serialVersionUID = 1L;

	/**主键*/
	@TableId(type = IdType.ID_WORKER_STR)
	@ApiModelProperty(value = "主键")
	private String id;
	/**钢号*/
	@Excel(name = "钢号", width = 15)
	@ApiModelProperty(value = "构件钢号")
	private String steelSpecification;
	/**规格*/
	@Excel(name = "规格", width = 15)
	@ApiModelProperty(value = "规格")
	private String standard;
	/**材质*/
	@Excel(name = "材质", width = 15)
	@ApiModelProperty(value = "材质")
	private String qualit;
	/**图号*/
	@Excel(name = "图号", width = 15)
	@ApiModelProperty(value = "图号")
	private String figureNumber;
	/**版次*/
	@Excel(name = "版次", width = 15)
	@ApiModelProperty(value = "版次")
	private String version;
	/**数量*/
	@Excel(name = "数量", width = 15)
	@ApiModelProperty(value = "数量")
	private Integer count;
	/**面积*/
	@Excel(name = "总面积(㎡)", width = 15)
	@ApiModelProperty(value = "面积")
	private Double area;
	/**单个重量(kg)*/
	@Excel(name = "单个重量(kg)", width = 15)
	@ApiModelProperty(value = "单个重量(kg)")
	private Double singleWeight;
	/**总重(kg)*/
	@Excel(name = "总重(kg)", width = 15)
	@ApiModelProperty(value = "总重(kg)")
	private Double totalWeight;
	/**位置*/
	@Excel(name = "位置", width = 15)
	@ApiModelProperty(value = "位置")
	private String location;
	/**工艺路线*/
	@Excel(name = "工艺路线", width = 15)
	@ApiModelProperty(value = "工艺路线")
	private String flowName;
	/**备注*/
	@Excel(name = "备注", width = 15)
	@ApiModelProperty(value = "备注")
	private String remark;

	/**完工数量*/
	@Excel(name = "完工数量", width = 15)
//	@ApiModelProperty(value = "完工数量")
	private Integer doneCount;
	/**状态*/
//	@Excel(name = "状态", width = 15)
	@ApiModelProperty(value = "状态")
	private Integer status;
	/**工艺路线id*/
	@ApiModelProperty(value = "工艺路线id")
	private String flowId;
	/**生产id*/
	@ApiModelProperty(value = "生产id")
	private String engineeringId;
	/**创建人*/
	@ApiModelProperty(value = "创建人")
	private String createBy;
	/**创建日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
	@ApiModelProperty(value = "创建日期")
	private Date createTime;
	/**更新人*/
	@ApiModelProperty(value = "更新人")
	private String updateBy;
	/**更新日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
	@ApiModelProperty(value = "更新日期")
	private Date updateTime;
	/**所属部门*/
	@ApiModelProperty(value = "所属部门")
	private String sysOrgCode;
	/**是否启用（0：禁用  1：启用）*/
	@ApiModelProperty(value = "是否启用")
	private Integer isEnable;
}
